-
Notifications
You must be signed in to change notification settings - Fork 702
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version Packages #5079
Version Packages #5079
Conversation
A wrangler prerelease is available for testing. You can install this latest build in your project with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8064039559/npm-package-wrangler-5079 You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/5079/npm-package-wrangler-5079 Or you can use npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8064039559/npm-package-wrangler-5079 dev path/to/script.js Additional artifacts:npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8064039559/npm-package-create-cloudflare-5079 --no-auto-update npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8064039559/npm-package-cloudflare-kv-asset-handler-5079 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8064039559/npm-package-miniflare-5079 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8064039559/npm-package-cloudflare-pages-shared-5079 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8064039559/npm-package-cloudflare-vitest-pool-workers-5079 Note that these links will no longer work once the GitHub Actions artifact expires.
Please ensure constraints are pinned, and |
c130296
to
06a6d93
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5079 +/- ##
==========================================
+ Coverage 70.36% 70.40% +0.03%
==========================================
Files 298 298
Lines 15515 15515
Branches 3987 3987
==========================================
+ Hits 10917 10923 +6
+ Misses 4598 4592 -6 |
06a6d93
to
35b4f96
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! There are a few documentation issues/PRs relevant to this release:
- [Pages] Update Astro framework guide cloudflare-docs#13093
- [Pages] Update Remix framework guide cloudflare-docs#13134
- Document the preserve_file_names configuration for Wrangler cloudflare-docs#13122
We should be good to merge and release this now though, as it looks like the current C3 guides don't provide guidance on how to use bindings during dev, so these are all strictly additive docs changes.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
create-cloudflare@2.13.0
Minor Changes
#5080
2aa7913
Thanks @jculvey! - feature: Use newvite-cloudflare
template in Remix projects.Remix has released a new official Cloudflare template that uses
getPlatformProxy
under the hood to provide better support for bindings in dev. Remix projects created with C3 will now use this new template.Along with this change, projects will use the default vite-based dev command from
create-remix
instead of usingwrangler pages dev
on build output.A new
build-cf-types
script has also been added to re-generate theEnv
type defined inload-context.ts
based on the contents ofwrangler.toml
. A defaultwrangler.toml
will be added to new Remix projects to accomodate this workflow.#5072
cab7e1c
Thanks @jculvey! - feature: Improve bindings support in Astro template.C3 will now create Astro projects configured to use miniflare in dev automatically. This is done by adding a configuration for the adapter of
{ runtime: 'local'}
(see Astro docs for more details). Awrangler.toml
file will also be added where bindings can be added to be used in dev.Along with this change, projects will now use the default vite-based
astro dev
command instead of usingwrangler pages dev
on build output.When Typescript is used, the
src/env.d.ts
file will be updated to add type definitionsruntime.env
which can be re-generated with a newly addedbuild-cf-types
script.Patch Changes
#5074
e37c1b8
Thanks @dependabot! - chore: Bumpedcreate-svelte
from6.0.8
to6.0.9
#5075
c1ed773
Thanks @dependabot! - chore: Bumpedcreate-remix
from2.7.1
to2.7.2
#5078
64236b0
Thanks @dependabot! - chore: Bumped@angular/create
from17.2.0
to17.2.1
miniflare@3.20240223.0
Minor Changes
0c0949d
Thanks @garrettgu10! - chore: bumpworkerd
to1.20240223.1
wrangler@3.30.0
Minor Changes
#4742
c2f3f1e
Thanks @benycodes! - feat: allow preserving file names when defining rules for non-js modulesThe developer is now able to specify the `preserve_file_names property in wrangler.toml
which specifies whether Wrangler will preserve the file names additional modules that are
added to the deployment bundle of a Worker.
If not set to true, files will be named using the pattern ${fileHash}-${basename}.
For example,
34de60b44167af5c5a709e62a4e20c4f18c9e3b6-favicon.ico
.Resolves #4741
Patch Changes
0c0949d
]:@cloudflare/pages-shared@0.11.15
Patch Changes
0c0949d
]:@cloudflare/vitest-pool-workers@0.0.4
Patch Changes
0c0949d
,c2f3f1e
]: